package com.ruoyi.experiment.service;

import java.util.List;
import com.ruoyi.experiment.domain.FirewallStrategy;

/**
 * 防火墙策略Service接口
 * 
 * @author 邓鑫
 * @date 2023-07-28
 */
public interface IFirewallStrategyService 
{
    /**
     * 查询防火墙策略
     * 
     * @param firewallStrategyId 防火墙策略主键
     * @return 防火墙策略
     */
    public FirewallStrategy selectFirewallStrategyByFirewallStrategyId(Long firewallStrategyId);

    /**
     * 查询防火墙策略列表
     * 
     * @param firewallStrategy 防火墙策略
     * @return 防火墙策略集合
     */
    public List<FirewallStrategy> selectFirewallStrategyList(FirewallStrategy firewallStrategy);

    /**
     * 新增防火墙策略
     * 
     * @param firewallStrategy 防火墙策略
     * @return 结果
     */
    public int insertFirewallStrategy(FirewallStrategy firewallStrategy);

    /**
     * 修改防火墙策略
     * 
     * @param firewallStrategy 防火墙策略
     * @return 结果
     */
    public int updateFirewallStrategy(FirewallStrategy firewallStrategy);

    /**
     * 批量删除防火墙策略
     * 
     * @param firewallStrategyIds 需要删除的防火墙策略主键集合
     * @return 结果
     */
    public int deleteFirewallStrategyByFirewallStrategyIds(Long[] firewallStrategyIds);

    /**
     * 删除防火墙策略信息
     * 
     * @param firewallStrategyId 防火墙策略主键
     * @return 结果
     */
    public int deleteFirewallStrategyByFirewallStrategyId(Long firewallStrategyId);

    /**
     * 不带参数获取策略列表
     */
    List<FirewallStrategy> getList();
}
